package _11_builder_pattern.v2_0.builder;

import _11_builder_pattern.v2_0.car.BMWModel;
import _11_builder_pattern.v2_0.car.CarModel;

import java.util.ArrayList;

/**
 * @Description: 宝马车组装者
 * @Auther: 2019/6/17 9:44 by zhang.jy 
 */
public class BMWBuilder extends CarBuilder {
	private BMWModel bmw = new BMWModel();

	@Override
	public CarModel getCarModel() {
		return this.bmw;
	}

	@Override
	public void setSequence(ArrayList<String> sequence) {
		this.bmw.setSequence(sequence);
	}
}